define({ "api": [
  {
    "group": "商品信息",
    "type": "get",
    "url": "/api/pro",
    "title": "获取商品数据",
    "version": "0.0.0",
    "description": "<p>获取所有商品数据</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    msg:\"请求成功\",\n    data:[{},{},{},....]\n})",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Error 4xx",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Error 4xx",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "res.send({\n    code:0,\n    msg:\"请求失败\",\n    data:错误对象\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/pro"
      }
    ],
    "filename": "api/pro.js",
    "groupTitle": "商品信息",
    "name": "GetApiPro"
  },
  {
    "group": "商品信息",
    "type": "get",
    "url": "/api/pro/detail",
    "title": "获取商品详情数据",
    "version": "0.0.0",
    "description": "<p>根据商品id，获取商品详情数据</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>商品id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    msg:\"请求成功\",\n    data:[{},{},{},....]\n})",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Error 4xx",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Error 4xx",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "res.send({\n    code:0,\n    msg:\"请求失败\",\n    data:错误对象\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/pro/detail"
      }
    ],
    "filename": "api/pro.js",
    "groupTitle": "商品信息",
    "name": "GetApiProDetail"
  }
] });
